from rest_framework import serializers

from user.models import User, Teacher, Trainee


class UserSerializer(serializers.ModelSerializer):

    class Meta():

        model  = User

        fields = "__all__"
class TeacherSerializer(serializers.ModelSerializer):

    class Meta():

        model  = Teacher

        fields = "__all__"

class TraineeSerializer(serializers.ModelSerializer):

    class Meta():

        model  = Trainee

        fields = "__all__"


